           <!-- footer php -->
		</div>
	</div>
	<!-- END CONTENT -->
</div>
<!-- END CONTAINER -->
<!-- BEGIN FOOTER -->
<div class="footer">
	<div class="footer-inner">
		 2014 &copy; Metronic by keenthemes.
	</div>
	<div class="footer-tools">
		<span class="go-top">
			<i class="fa fa-angle-up"></i>
		</span>
	</div>
</div>
<!-- END FOOTER -->
<!-- BEGIN JAVASCRIPTS(Load javascripts at bottom, this will reduce page load time) -->
<!-- BEGIN CORE PLUGINS -->
<!--[if lt IE 9]>
   <script src="<?php echo base_url(APPPATH. 'assets/plugins/respond.min.js')?>"></script>
   <script src="<?php echo base_url(APPPATH. 'assets/plugins/excanvas.min.js')?>"></script> 
   <![endif]-->
<script src="<?php echo base_url(APPPATH. 'assets/plugins/jquery-1.10.2.min.js');?>" type="text/javascript"></script>
<script src="<?php echo base_url(APPPATH. 'assets/plugins/jquery-migrate-1.2.1.min.js')?>" type="text/javascript"></script>
<!-- IMPORTANT! Load jquery-ui-1.10.3.custom.min.js before bootstrap.min.js to fix bootstrap tooltip conflict with jquery ui tooltip -->
<script src="<?php echo base_url(APPPATH. 'assets/plugins/jquery-ui/jquery-ui-1.10.3.custom.min.js')?>" type="text/javascript"></script>
<script src="<?php echo base_url(APPPATH. 'assets/plugins/bootstrap/js/bootstrap.min.js')?>" type="text/javascript"></script>
<script src="<?php echo base_url(APPPATH. 'assets/plugins/bootstrap-hover-dropdown/bootstrap-hover-dropdown.min.js')?>" type="text/javascript"></script>
<script src="<?php echo base_url(APPPATH. 'assets/plugins/jquery-slimscroll/jquery.slimscroll.min.js')?>" type="text/javascript"></script>
<script src="<?php echo base_url(APPPATH. 'assets/plugins/jquery.blockui.min.js')?>" type="text/javascript"></script>
<script src="<?php echo base_url(APPPATH. 'assets/plugins/jquery.cokie.min.js')?>" type="text/javascript"></script>
<script src="<?php echo base_url(APPPATH. 'assets/plugins/uniform/jquery.uniform.min.js')?>" type="text/javascript"></script>

<!-- BEGIN PAGE LEVEL PLUGINS -->
<script src="<?php echo base_url(APPPATH. 'assets/plugins/jquery-validation/dist/jquery.validate.min.js')?>" type="text/javascript"></script>
<script src="<?php echo base_url(APPPATH. 'assets/plugins/jquery-validation/dist/additional-methods.min.js')?>" type="text/javascript"></script>
<script src="<?php echo base_url(APPPATH. 'assets/plugins/select2/select2.min.js')?>" type="text/javascript" ></script>
<script src="<?php echo base_url(APPPATH. 'assets/plugins/data-tables/jquery.dataTables.js')?>" type="text/javascript" ></script>
<script src="<?php echo base_url(APPPATH. 'assets/plugins/data-tables/DT_bootstrap.js')?>" type="text/javascript" ></script>
<script src="<?php echo base_url(APPPATH. 'assets/plugins/bootstrap-toastr/toastr.min.js')?>"></script>
<script src="<?php echo base_url(APPPATH. 'assets/plugins/bootstrap-switch/js/bootstrap-switch.min.js')?>" type="text/javascript"></script>
<!-- END PAGE LEVEL PLUGINS -->

<!-- END CORE PLUGINS -->
<script src="<?php echo base_url(APPPATH. 'assets/scripts/core/page-engine.js')?>"></script>
<script src="<?php echo base_url(APPPATH. 'assets/scripts/core/app.js')?>"></script>
<script src="<?php echo base_url(APPPATH. 'assets/scripts/custom/form-samples.js')?>"></script>
<script src="<?php echo base_url(APPPATH. 'assets/scripts/custom/table-managed.js')?>"></script>

<?php echo $jspath;?>



<script>
      $(document).ready(function() {    
         App.init();
		 TableManaged.init();
      });

</script>
<?php if($msg) {
foreach($msg as $ntf)
{
	echo '<script>'
		.'$(document).ready(function() { '
		.'toastr["'.$ntf->type.'"]("'.$ntf->msg.'", "'.$ntf->title.'")'
		.'});'
		.'</script>';
		}
}
?>
<!-- END JAVASCRIPTS -->
</body>
</html>